package com.huatai.datacenter.entity.dataquality;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author gusiyi
 * @version 1.0
 * @className QualityRuleEntity
 * @description 描述：
 * @date 2023/6/1 10:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_quality_rule")
@ApiModel(value = "数据质量规则实体类",description = "数据质量规则实体类")
public class QualityRuleEntity extends QualityBaseEntity{

	@TableId(value = "id",type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "数据质量规则id",required = true)
	private Long id;

	@ApiModelProperty(value = "数据质量规则名称",required = true)
	private String qualityRuleName;

	@ApiModelProperty(value = "质量规则描述")
	private String remark;

	@ApiModelProperty(value = "质量规则类型",required = true)
	private Integer qualityRuleTypeNum;

	@ApiModelProperty(value = "质量规则类型名称",required = true)
	private String qualityRuleTypeName;

	@ApiModelProperty(value = "方法内容",required = true)
	private String methodContent;

}
